<?php
// +----------------------------------------------------------------------
// | 07FLYSAAS [基于ThinkPHP5.0开发]
// +----------------------------------------------------------------------
// | Copyright (c) 2025-2035 http://www.07fly.xyz
// +----------------------------------------------------------------------
// | Professional because of focus  Persevering because of happiness
// +----------------------------------------------------------------------
// | Author: 开发人生 <goodkfrs@qq.com>
// +----------------------------------------------------------------------

namespace app\plat\validate;

/**
 * 企业组织 验证器
 */
class TenDev extends PlatBase
{

    // 验证规则
    protected $rule = [
        'company' => 'require',
    ];

    // 验证提示
    protected $message = [

        'company.require' => '名称不能为空',
    ];

    // 应用场景
    protected $scene = [

        'add' => ['company'],
        'edit' => ['company'],
    ];

}
